package com.xy.blog.user.dao.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/3/5
 */
@Data
@Table(name = "t_sys_info")
public class SysInfoDO {
    @Id
    private Long id;

    @Column(name = "sys_name")
    private String sysName;

    private String secret;
    /**
     * token过期时间 单位小时
     */
    @Column(name = "token_expire")
    private Long tokenExpire;

    @Column(name = "create_time")
    private LocalDateTime updateTime;

}
